import 'package:flutter/material.dart';
import 'singleAnimation.dart';
import 'heroAnimation.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      // home: const Scaffold(
      //   body: AnimateApp(),
      // ),
      home: Scaffold(
        appBar: AppBar(title: const Text("Hero Animation")),
        body: const Page1(),
      ),
    );
  }
}